﻿using DataServer.CommonLib.Models.ConfigData;
using Swimj.CommonLib.Base;
using Swimj.Core.DependencyInjection;

namespace DataServer.ApplicationLib.Services
{
    public interface IConfigDataService : IScopedDependency
    {
        Task<Result<ConfigDataInfoResponseDto>> CreateAsync(IDictionary<string, object> model);

        Task<Result<IList<ConfigDataInfoResponseDto>>> QueryConfigDatasAsync(ConfigDataSearchRequestDto model);

        Task<PaginatedResult<ConfigDataInfoResponseDto>> QueryConfigDatasByPageAsync(ConfigDataSearchRequestDto model);
    }
}